<!--
 * @Description: 
 * @Author: wanghongjian
 * @@github: https://github.com/whj0117
 * @Date: 2025-11-06 17:16:47
 * @LastEditors: wanghongjian
 * @LastEditTime: 2025-11-14 16:19:44
-->
<template>
  <div class="dashboard-container">
    <div class="left-content">
      <div class="main-title">投诉人信息详情</div>
      <div class="tags-content">
        <div class="tags-item">
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">投诉人信息</div>
              <div class="line"></div>
            </div>
            <div class="list-content">
              <div class="info-t">
                <div class="info-content">
                  <img
                    src="../../images/login.png"
                    style="width: 60px; height: 60px; border-radius: 6px"
                  />
                  <div class="list-info">
                    <div class="user-name">昵称</div>
                    <div class="user-real-name">
                      真是姓名
                      <div class="wrap-list">
                        <div class="wrap-list-item align-justify-center">
                          <div class="wrap-list-item-sure"></div>
                          实名
                        </div>
                        <div
                          class="wrap-list-item align-justify-center bgF8A366"
                        >
                          <div class="wrap-list-item-sure"></div>
                          学历
                        </div>
                        <div
                          class="wrap-list-item align-justify-center bg60DCEA"
                        >
                          <div class="wrap-list-item-sure"></div>
                          房子
                        </div>
                        <div
                          class="wrap-list-item align-justify-center bg7BADEF"
                        >
                          <div class="wrap-list-item-sure"></div>
                          车子
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="wxtel">
                <div>
                  手机号：
                  <div class="content">1000000000</div>
                </div>
                <div>
                  微信号：
                  <div class="content">1000000000</div>
                </div>
              </div>
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">举报内容</div>
              <div class="line"></div>
            </div>
            <div class="list-content textarea-content">
              个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">投诉照片证据</div>
              <div class="line"></div>
            </div>
            <div class="list-content textarea-content">
              <img src="../../images/logo.png" alt="" />
              <img src="../../images/logo.png" alt="" />
              <img src="../../images/logo.png" alt="" />
              <img src="../../images/logo.png" alt="" />
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">投诉视频证据</div>
              <div class="line"></div>
            </div>
            <div class="list-content textarea-content">
              <img src="../../images/logo.png" alt="" />
              <img src="../../images/logo.png" alt="" />
              <img src="../../images/logo.png" alt="" />
              <img src="../../images/logo.png" alt="" />
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="right-content">
      <div class="main-title">被投诉人信息详情</div>
      <div class="tags-content">
        <div class="tags-item">
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">个人基本情况</div>
              <div class="line"></div>
            </div>
            <div class="list-content">
              <el-table
                :data="tableData"
                border
                :show-header="false"
                style="width: 100%"
              >
                <el-table-column
                  prop="first"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="second" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.second"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.second }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="third"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="fourth" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.fourth"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.fourth }}</span>
                  </template>
                </el-table-column>
              </el-table>
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">个人小档案</div>
              <div class="line"></div>
            </div>
            <div class="list-content">
              <el-table
                :data="tableData"
                border
                :show-header="false"
                style="width: 100%"
              >
                <el-table-column
                  prop="first"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="second" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.second"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.second }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="third"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="fourth" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.fourth"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.fourth }}</span>
                  </template>
                </el-table-column>
              </el-table>
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">信息认证</div>
              <div class="line"></div>
            </div>
            <div class="list-content information-authentication">
              <div class="info-item">
                <img src="../../images/nameCertification.png" alt="" />
                <div class="text">实名认证</div>
              </div>
              <div class="info-item">
                <img src="../../images/academicCertification.png" alt="" />
                <div class="text">学历认证</div>
              </div>
              <div class="info-item">
                <img src="../../images/houseCertification.png" alt="" />
                <div class="text">房子认证</div>
              </div>
              <div class="info-item">
                <img src="../../images/carCertification.png" alt="" />
                <div class="text">车子认证</div>
              </div>
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">择偶意向</div>
              <div class="line"></div>
            </div>
            <div class="list-content">
              <el-table
                :data="tableData"
                border
                :show-header="false"
                style="width: 100%"
              >
                <el-table-column
                  prop="first"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="second" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.second"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.second }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="third"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="fourth" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.fourth"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.fourth }}</span>
                  </template>
                </el-table-column>
              </el-table>
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">兴趣爱好</div>
              <div class="line"></div>
            </div>
            <div class="list-content textarea-content">
              个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">爱情规划</div>
              <div class="line"></div>
            </div>
            <div class="list-content">
              <el-table
                :data="tableData"
                border
                :show-header="false"
                style="width: 100%"
              >
                <el-table-column
                  prop="first"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="second" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.second"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.second }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="third"
                  label="日期"
                  width="140"
                  align="right"
                  class-name="tableColumnClassName"
                ></el-table-column>
                <el-table-column prop="fourth" label="姓名">
                  <template slot-scope="{ row }">
                    <el-input
                      v-if="isEdit"
                      v-model="row.fourth"
                      size="mini"
                      placeholder="请输入"
                    ></el-input>
                    <span v-else>{{ row.fourth }}</span>
                  </template>
                </el-table-column>
              </el-table>
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">自我介绍</div>
              <div class="line"></div>
            </div>
            <div class="list-content textarea-content">
              个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">爱情观</div>
              <div class="line"></div>
            </div>
            <div class="list-content textarea-content">
              个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">对他的期望</div>
              <div class="line"></div>
            </div>
            <div class="list-content textarea-content">
              个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
            </div>
          </div>
          <div class="tags-item-list">
            <div class="list-title">
              <div class="title">现实拷问</div>
              <div class="line"></div>
            </div>
            <div class="list-content interrogate-content">
              <div class="interrogate-item">
                <div class="interrogate-title">1、到目前单身的原因是什么？</div>
                <div class="interrogate-text">
                  个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
                </div>
              </div>
              <div class="interrogate-item">
                <div class="interrogate-title">
                  2、最希望和他过什么样子的生活？
                </div>
                <div class="interrogate-text">
                  个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好个人的兴趣爱好
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="btn">
          <el-button
            style="
              width: 130px;
              height: 40px;
              border-color: #ff47ab;
              background-color: #fff;
              color: #ff47ab;
            "
            >致电处理</el-button
          >
          <el-button
            style="
              width: 130px;
              height: 40px;
              border-color: #ff47ab;
              background-color: #ff47ab;
              color: #fff;
            "
            >封禁</el-button
          >
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Pagination from "@/components/Pagination"; // secondary package based on el-pagination
export default {
  name: "Datalist",
  components: { Pagination },
  data() {
    return {
      value1: false,
      isEdit: false,
      tableData: [
        {
          first: "昵称",
          second: "昵称123",
          third: "上海市",
          fourth: 111,
        },
        {
          first: "性别",
          second: "王小虎",
          third: "上海市",
          fourth: 111,
        },
        {
          first: "身高",
          second: "王小虎",
          third: "上海市",
          fourth: 111,
        },
        {
          first: "民族",
          second: "王小虎",
          third: "上海市",
          fourth: 111,
        },
      ],
      query: {},
      q_z_formDate: [],
      tableData1: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区",
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区",
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区",
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区",
        },
      ],
      total: 1,
    };
  },
  computed: {},
  mounted() {},
  methods: {
    getInfo() {},
    tableRowClassName({ row, rowIndex }) {
      if (rowIndex === 1) {
        return "warning-row";
      } else if (rowIndex === 3) {
        return "success-row";
      }
      return "";
    },
    handleEdit() {
      this.isEdit = !this.isEdit;
    },
  },
  beforeDestroy() {},
};
</script>
<style lang="scss" scoped>
.dashboard-container {
  display: flex;
  min-height: calc(100vh - 84px);

  .left-content,
  .right-content {
    .main-title {
      height: 14px;
      line-height: 14px;
      margin-bottom: 30px;
      font-size: 14px;
      color: #222222;
      text-transform: none;
      padding-left: 20px;
      box-sizing: border-box;
      border-left: 4px solid #ff47ab;
    }
    .tags-item {
      padding: 0 30px;
      box-sizing: border-box;
      .tags-item-list {
        margin-bottom: 60px;
        .list-title {
          display: flex;
          align-items: center;
          justify-content: space-between;
          .title {
            height: 14px;
            line-height: 14px;
            padding-left: 16px;
            border-left: 4px solid #ff47ab;
            box-sizing: border-box;
            font-weight: bold;
            font-size: 14px;
            color: #222222;
          }
          .line {
            flex: 1;
            margin-left: 20px;
            border-top: 1px dashed #999999;
          }

          .edit {
            font-weight: 400;
            font-size: 14px;
            color: #222222;
            cursor: pointer;
          }
        }
        .list-content {
          margin-top: 30px;
          ::v-deep .tableColumnClassName {
            background-color: #f1f3f7;
          }
          &.information-authentication {
            display: flex;
            align-items: center;
            .info-item {
              margin-right: 46px;
              font-size: 14px;
              color: #777777;
              & > img {
                width: 50px;
                height: 50px;
                margin-bottom: 12px;
              }
            }
          }

          &.textarea-content {
            line-height: 20px;
            font-size: 14px;
            color: #444444;
          }

          &.interrogate-content {
            .interrogate-item {
              margin-bottom: 30px;
              font-weight: 400;
              font-size: 14px;
              color: #444444;
              line-height: 20px;
              &:last-child {
                margin-bottom: 0;
              }
              .interrogate-title {
                margin-bottom: 16px;
                font-size: 14px;
                color: #ff47ab;
              }
              .interrogate-text {
                padding-left: 20px;
                box-sizing: border-box;
              }
            }
          }
        }
      }
      .filter-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        .filter-container {
          margin-bottom: 0;
        }
      }
    }
  }

  .left-content {
    overflow: auto;
    position: relative;
    width: 40%;
    height: calc(100vh - 100px);
    margin-right: 20px;
    padding: 30px 0;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 4px 4px 4px 4px;

    .list-content {
      padding: 0 16px;
      box-sizing: border-box;
      & > img {
        width: 113px;
        height: 113px;
        border-radius: 6px 6px 6px 6px;
      }
      .info-t {
        .info-content {
          display: flex;
          align-items: center;
          .list-info {
            margin-left: 15px;

            .user-name {
              font-weight: 500;
              font-size: 14px;
              color: #777777;
              margin-bottom: 15px;
            }

            .user-real-name {
              display: flex;
              align-items: center;
              font-weight: bold;
              font-size: 16px;
              color: #222222;
              .wrap-list {
                display: flex;
                align-items: center;
                margin-left: 30px;

                &-item {
                  width: 50px;
                  height: 20px;
                  margin-right: 10px;
                  background-color: #57ee91;
                  font-size: 12px;
                  color: #ffffff;
                  border-radius: 2px;
                  line-height: 0;

                  &:last-child {
                    margin-right: 0;
                  }

                  &.bgF8A366 {
                    background-color: #f8a366;
                  }

                  &.bg60DCEA {
                    background-color: #60dcea;
                  }

                  &.bg7BADEF {
                    background-color: #7badef;
                  }

                  &-sure {
                    width: 12px;
                    height: 12px;
                    margin-right: 2px;
                    background: url("../..//images/sure.png") center/cover
                      no-repeat;
                  }
                }
              }
            }
          }
        }
      }
      .wxtel {
        display: flex;
        align-items: center;
        margin-top: 30px;
        font-weight: 500;
        font-size: 14px;
        color: #777777;

        & > div {
          display: flex;
          align-items: center;
          &:last-child {
            margin-left: 40px;
          }
        }

        .content {
          font-weight: bold;
          font-size: 16px;
          color: #222222;
        }
      }
    }
  }

  .right-content {
    flex: 1;
    overflow: auto;
    width: 60%;
    height: calc(100vh - 100px);
    padding-top: 30px;
    box-sizing: border-box;
    background-color: #fff;
    .tags-content {
      position: relative;
      ::v-deep .el-tabs {
        .el-tabs__header {
          .el-tabs__nav-scroll {
            padding: 0 30px;
            box-sizing: border-box;
          }
          .el-tabs__nav {
            height: 57px;
            .el-tabs__active-bar {
              background-color: #ff47ab;
            }
            .el-tabs__item {
              height: 57px;
              line-height: 57px;
              font-weight: 400;
              font-size: 16px;
              color: #777777;
              &.is-active {
                font-weight: bold;
                color: #ff47ab;
              }
            }
          }
        }
      }
      .btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        z-index: 99;
        position: sticky;
        bottom: -30px;
        width: 100%;
        height: 100px;
        padding: 0 30px;
        box-shadow: 0px -4px 4px 0px rgba(0, 0, 0, 0.08);
        border-radius: 4px 4px 4px 4px;
        background-color: #ffffff;
        box-sizing: border-box;
        text-align: right;
      }
    }
  }
}
</style>